查成语>英语词典>tail recursion翻译和用法

tail recursion

英 [teɪl rɪˈkɜːʃn]

美 [teɪl rɪˈkɜːrʒn]

网络  尾部递归; 尾递归; 二则除尾递归; 尾递归的使用; 尾状递归

计算机

双语例句

  • To effect that transformation, you need to use a common XSLT technique known as tail recursion.
    要实现这一转换,需要使用常用的被称为尾递归(tailrecursion)的XSLT技术。
  • You'll use tail recursion and the XSLT translate() function to do this.
    您可以使用尾递归(tailrecursion)和XSLTtranslate()函数来完成这一步。
  • Haskell has two primary advantages when dealing with recursion: Haskell optimizes tail recursion, and Haskell is lazy.
    在处理递归时,Haskell有两大优势:Haskell优化了尾部递归,Haskell是惰性的。
  • This example uses what in Scheme is called tail recursion.
    这个例子使用Scheme中所谓的尾递归(tailrecursion)。
  • Tail recursion is a common technique in XSLT style sheets.
    尾递归是XSLT样式表中的常用技术。
  • Essentially, tail recursion eliminates the use of the call stack for recursion; thus, arbitrarily deep recursion is possible and avoids stack overflow.
    实际上,尾递归消除了对递归使用调用栈的需要;因此,可以实现任意深度的递归并且可以避免栈溢出。
  • Lisp offers a performance optimization called tail recursion optimization.
    Lisp提供一项称作尾部递归优化的性能优化技术。
  • In Clojure, loop/ recur indicates tail recursion and does not consume stack frames like other recursive calls.
    在Clojure中,loop/recur表示尾递归,不像其他递归调用那样占用堆栈帧。